package at.ac.tuwien.sepm.s2011.e0208329.services;

public class Product {
    private String name;
    private int price;

    public Product(String name, int price) {
        this.name = name;
        this.price = price;
    }

    /**
     * Set the name. Must NOT be empty or null.
     */
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * Returns the price (in Cent)
     */
    public int getPrice() {
        return price;
    }

    /**
     * Set the price (in Cent). Must NOT be less then 1.
     */
    public void setPrice(int price) {
        this.price = price;
    }
}
